package org.jradweb.tools.utils;
/**
 * 
 *
 * Created On 2007-11-02
 * @author <a href="mailto:wagzhi@gmail.com">Paul Wang</a>
 * @version $Id: Log.java 148 2008-10-10 03:07:23Z wagzhi $
 */

public interface Log
{
    boolean isDebugEnabled();
    
    void debug(CharSequence content );

    void debug(CharSequence content, Throwable error );

    void debug(Throwable error );

    boolean isInfoEnabled();
    
    void info(CharSequence content );

    void info(CharSequence content, Throwable error );

    void info(Throwable error);

    boolean isWarnEnabled();
    
    void warn(CharSequence content );

    void warn(CharSequence content, Throwable error );

    void warn(Throwable error );

    boolean isErrorEnabled();
    
    void error(CharSequence content );

    void error(CharSequence content, Throwable error );

    void error(Throwable error );
}